package com.chunfeng.mypen.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chunfeng.mypen.entity.Exam;
import com.chunfeng.mypen.result.JsonRequest;
import com.chunfeng.mypen.vo.ExamVo;

import java.util.List;

/**
 * @Description: 试卷service接口
 * @author: 小雷
 * @createTime: 2023-11-14 00:10:12
 */
public interface ExamService extends IService<Exam> {

    //查所有试卷
    JsonRequest<List<ExamVo>> lookExam(Exam exam);

    //添加试卷
    JsonRequest<Integer> addExam(Exam exam);

    //修改试卷
    JsonRequest<Integer> updateExam(Exam exam);

    //删除试卷
    JsonRequest<Integer> deleteExam(List<String> ids);
}
